<%@ page import="activity.Serial" %>
<!DOCTYPE html>
<html>
    <head>
        <meta name="layout" content="backend">
        <g:set var="entityName" value="${message(code: 'serial.label', default: 'Serial')}" />
        <title><g:message code="default.list.label" args="[entityName]" /></title>
    </head>
    <body>
        <a href="#list-serial" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
           <g:form action="loginCheck">
                <div class="fieldcontain">
                    <label>帳號</label>
                    <g:textField name="id"/>
                </div>
                <div class="fieldcontain">
                    <label>密碼</label>
                    <g:passwordField name="pw"/>
                </div>
                <div class="fieldcontain">
                    <label></label><g:submitButton name="search" value="登入" class="btn btn-primary" />
                    <span id="error" style="color:red;display:none">　</span>
                </div>
            </g:form>                
            <g:if test="${flash.message}">
                <div class="message" role="status">${flash.message}</div>
            </g:if>
        </div>
    </body>
</html>
